package com.sangu.dianxiu.ui;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;

import com.lidroid.xutils.ViewUtils;
import com.lidroid.xutils.view.annotation.event.OnClick;
import com.sangu.dianxiu.R;

public class AboutActivity extends BaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_about);
        ViewUtils.inject(this);                             //加上此行，xutils的注解才会生效
    }
    //使用XUtils的点击事件注解，这样就不用findViewById了
    @OnClick({R.id.iv_activity_about_back})
    public void onClick(View view)
    {
        switch (view.getId())
        {
            case R.id.iv_activity_about_back:
                finish();
                break;
        }
    }

}
